IPersistMessage
: IUnknown
The IPersistMessage
interface is implemented by form objects to save, initialize, and load messages
to and from forms. IPersistMessage works similarly to the OLE IPersistStorage
interface; for more information on the IPersistStorage methods, and on
working with storage objects in general, see the OLE Programmer s Reference.
Quick Info
Header
file: |
MAPIFORM.H |
Exposed by: |
Persist
message objects |
Implemented
by: |
Form
objects |
Called by: |
Form
viewers |
Corresponding
pointer type: |
LPPERSISTMESSAGE |
Vtable Order
GetLastError |
Returns a MAPIERROR
structure containing information about the last error that occurred in a
form s message object. |
GetClassID |
Returns a
form s message class identifier. |
IsDirty |
Checks a
form for changes made since the form was last saved. |
InitNew |
Provides a
form with a base message on which to build a new message. |
Load |
Loads a
form from a specified message. |
Save |
Saves a
revised form back to the message from which it was loaded or created. |
SaveCompleted |
Returns a
message to a form after a save, submission, or other operation. |
HandsOffMessage |
Causes a
form to release its message object. |